package com.cuiweiyou.componentapplication;

import android.app.Application;

import com.alibaba.android.arouter.launcher.ARouter;

public class IndexApp extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        // Router.getInstance().register("/login/LoginActivity", LoginActivity.class);
        // Router.getInstance().register("/main/MainActivity", MainActivity.class);

        ARouter.openLog();
        ARouter.openDebug();
        ARouter.init(this);
    }
}
